import platform


# def readCheckAsinTxt():
#     checkAsinArr = []
#     f = open('./aaa.txt','r', encoding='utf-8')
#     # 返回一个文件对象
#     line = f.readline()  # 调用文件的 readline()方法
#     i = 1
#     # while line:
#     #     # print(line.split('		')[0])
#     #     # arr = line.split('		')
#     #     # checkAsinArr.append(arr)
#     #     # print(arr)
#     #     # if arr[13] == 'OG-JO03-CI37':
#     #         # i = i + 1
#     #         # print(arr[0])
#     #         # print(i)
#     #     # if platform.system() == 'Windows':
#     #     #     checkAsinArr.append(line.rstrip('\n\r'))
#     #     # elif platform.system() == 'Linux':
#     #     #     checkAsinArr.append(line.split('		')[0])
#     #     # else:
#     #     #     # print('其他  mac ?')
#     #     #     checkAsinArr.append(line.rstrip('\n'))
#     #     line = f.readline()
#     f.close()
#     print(len(checkAsinArr))
#     # for item in checkAsinArr:
#     #     if item[13] == 'OG-JO03-CI37':
#     #         print(item[0])
#     # return checkAsinArr


import pandas as pd
import numpy as np

# 读取整个csv文件
csv_data = pd.read_csv("./123.csv")
print(len(csv_data))
# 读取指定列索引字段的数据
# csv_data = pd.read_csv("./stock_day.csv", usecols=['open', 'close'])

# 将我们修改完的csv的文件保存到新的路径下




# if __name__ == '__main__':
    # readCheckAsinTxt()

